#pragma once

class CRenderer;
class CScene;
class CMenuDialog;

class CMainFrame
{
public:
	CMainFrame();
	virtual ~CMainFrame();

	bool Init(const char* pFileName);
	void MainLoop();

	CRenderer* GetRenderer() { return m_pRenderer; }

protected:
	SDL_Surface& InitSDL();

	void Render();

	void HandleInput(bool &bQuit);

	CRenderer* m_pRenderer;
	CScene* m_pScene;
};